/*
 * @Description: 接口定义
 * @Autor: LiuGang
 * @Date: 2022-04-14 09:25:52
 * @LastEditors: LiuGang
 * @LastEditTime: 2022-12-27 16:27:54
 */
import request from '@/utils/request'

// 获取接口
export function getFactoryInfo(query, page) {
    return request({
        url: '/factory/getFactoryInfo',
        method: 'post',
        data: query,
    })
}
// 新增
export function addFactory(query, page) {
    return request({
        url: '/factory/add',
        method: 'post',
        data: query,
    })
}
// 修改
export function updateFactory(query, page) {
    return request({
        url: '/factory/update',
        method: 'post',
        data: query,
    })
}
// 删除
export function deleteFactory(query, page) {
    return request({
        url: '/factory/delete',
        method: 'post',
        data: query,
    })
}


